﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <link href="tipswindown.css" rel="stylesheet" type="text/css" />
    <script src="jquery.1.5.js" type="text/javascript"></script>
    <script src="tipswindown.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function() {
            $("#imgTest").click(function() {
                //tipsWindown("标题：风景", "img:" + this.src, "640", "480", "true", "", "true", "img");
				tipsWindown("标题","url:get?test.html","800","500","true","","true","text"); 
            });
            /*
            function tipsWindown(title, content, width, height, drag, time, showbg, cssName) 
            title:	窗口标题
            content:  内容(可选内容为){ text | id | img | url | iframe }
            width:	内容宽度
            height:	内容高度
            drag:  是否可以拖动(ture为是,false为否)
            time:	自动关闭等待的时间，为空是则不自动关闭
            showbg:	[可选参数]设置是否显示遮罩层(0为不显示,1为显示)
            cssName:  [可选参数]附加class名称
            */
        });
    </script>
</head>
<body>
    <img src="bg.png" width="400" height="300" id="imgTest" />
</body>
</html>

